package models;

import java.util.Date;

public class ChiTietGia {

    private Date thoidiemapdung;
    private GiaPhong giaphong;
    private LoaiPhong loaiphong;
    private NhaTro nhatro;

    public ChiTietGia() {
    }

    public Date getThoidiemapdung() {
        return this.thoidiemapdung;
    }

    public void setThoidiemapdung(Date thoidiemapdung) {
        this.thoidiemapdung = thoidiemapdung;
    }

    public GiaPhong getGiaphong() {
        return giaphong;
    }

    public LoaiPhong getLoaiphong() {
        return loaiphong;
    }

    public NhaTro getNhatro() {
        return nhatro;
    }

    public void setGiaphong(GiaPhong giaphong) {
        this.giaphong = null;
        this.giaphong = giaphong;
    }

    public void setLoaiphong(LoaiPhong loaiphong) {
        this.loaiphong = null;
        this.loaiphong = loaiphong;
    }

    public void setNhatro(NhaTro nhatro) {
        this.nhatro = nhatro;
    }

}
